package com.ruoyi.team.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.team.domain.excel.DiscountHandler;

/**
 * 团队对象 mg_team
 *
 * @author ruoyi
 * @date 2024-01-08
 */
public class MgTeam extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @Excel(name = "团队ID")
    private Integer id;

    private List<String> ids;

    public List<String> getIds() {
        return ids;
    }

    public void setIds(List<String> ids) {
        this.ids = ids;
    }

    /**
     * 团队名称
     */
    @Excel(name = "团队名称")
    private String groupName;

    /**
     * 团长
     */
    @Excel(name = "团长姓名")
    private String regimental;

    /**
     * 团长id
     */
    private Long userId;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;
    /**
     * 邮箱
     */
    @Excel(name = "邮箱")
    private String email;


    /**
     * 学术币
     */
    @Excel(name = "累计使用学术币")
    private BigDecimal currency;
    
    /**
     * 折扣
     */
    @Excel(name = "团队折扣", handler = DiscountHandler.class)
    private BigDecimal discount;
    
    
    private BigDecimal totalMoney;
    

    /**
     * 状态 0 待审核 1 通过 2 拒绝
     */
    private String status;

    /**
     * 团队状态 0 停用 1正常
     */
    private String  teamStatus;

    public String getTeamStatus() {
        return teamStatus;
    }

    public void setTeamStatus(String teamStatus) {
        this.teamStatus = teamStatus;
    }

    /**
     * 审核原因
     */
    private String verify;

    @Excel(name = "团队成员")
    private Integer teamCount;


    @Excel(name = "创建时间", dateFormat="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @Excel(name = "科藤备注")
    private String remark;



    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getTeamCount() {
        return teamCount;
    }

    public void setTeamCount(Integer teamCount) {
        this.teamCount = teamCount;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setRegimental(String regimental) {
        this.regimental = regimental;
    }

    public String getRegimental() {
        return regimental;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setCurrency(BigDecimal currency) {
        this.currency = currency;
    }

    public BigDecimal getCurrency() {
        return currency;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setVerify(String verify) {
        this.verify = verify;
    }

    public String getVerify() {
        return verify;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("groupName", getGroupName())
                .append("regimental", getRegimental())
                .append("userId", getUserId())
                .append("email", getEmail())
                .append("phone", getPhone())
                .append("discount", getDiscount())
                .append("currency", getCurrency())
                .append("status", getStatus())
                .append("verify", getVerify())
                .append("createTime", getCreateTime())
                .append("totalMoney", getTotalMoney())
                .toString();
    }

	public BigDecimal getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}
}
